package com.fth.learn.chapter08.student;

/**
 * 测试类
 * YiMi
 *
 * @author YiMi
 * @version 1.0
 * @date 2023/7/24 22:04
 */

public class Text {
    public static void main(String[] args) {
        Stud stud = new Stud();

        Stud s1 = new Stud();
        s1.setName("啊");
        s1.setDeg(56);
        s1.setNo(12);

        Stud s2 = new Stud();
        s2.setName("噢");
        s2.setDeg(60);
        s2.setNo(1);

        System.out.println(s1.getDeg());

        System.out.println(s2.getDeg());

        System.out.println();
    }
}
